import http from "../utils/request"

// /admin/web_info 网站信息详情
const webInfo = (data) => {
    return http.request({
        url: '/admin/web_info',
        method: 'get',
        data: data
    })
}

//修改网站信息 /admin/web_info/updateWebInfo
const updateWebInfo = (data) => {
    return http.request({
        url: '/admin/web_info/updateWebInfo',
        method: 'post',
        data: data
    })
}

export { webInfo, updateWebInfo }